CREATE TABLE [dbo].[TRPERS_USUA]
(
[CO_EMPL] [dbo].[TD_VC_020] NOT NULL,
[CO_USUA] [dbo].[TD_VC_008] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TRPERS_US__CO_US__7B264821] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TRPERS_US__FE_US__7C1A6C5A] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TRPERS_US__CO_US__7D0E9093] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TRPERS_US__FE_US__7E02B4CC] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TRPERS_USUA] ADD CONSTRAINT [PK__TRPERS_U__99AA29C02B2A60FE] PRIMARY KEY CLUSTERED  ([CO_EMPL], [CO_USUA]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TRPERS_USUA] TO [public]
GRANT INSERT ON  [dbo].[TRPERS_USUA] TO [public]
GRANT DELETE ON  [dbo].[TRPERS_USUA] TO [public]
GRANT UPDATE ON  [dbo].[TRPERS_USUA] TO [public]
GO
